package com.github.baichuan.application.scaffold.dto.authentication;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Getter;

@Schema(title = "钉钉用户登录凭证")
@Getter
public class DingCredential {
    @Schema(title = "unionId", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "unionId不能为空")
    private String unionId;


    @Schema(title = "用户IP地址", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "用户IP地址不能为空")
    private String ip;
}
